package com.ppx.pojo;

import java.util.Objects;

/**
 * @author wangxiaotao
 * @create 2021-05-20-10:53
 */
public class User {
    private int id;
    private String userAccount;
    private String userPassword;
    private String userName;
    private String userPhone;
    private String userRole;
    private String userHobby;
    private String userState;
    private String userUrl;

    public User() {
    }

    public User(int id, String userAccount, String userPassword, String userName, String userPhone, String userRole, String userHobby, String userState, String userUrl) {
        this.id = id;
        this.userAccount = userAccount;
        this.userPassword = userPassword;
        this.userName = userName;
        this.userPhone = userPhone;
        this.userRole = userRole;
        this.userHobby = userHobby;
        this.userState = userState;
        this.userUrl = userUrl;
    }

    public User(int id, String userAccount, String userPassword, String userName, String userPhone, String userRole, String userHobby, String userState) {
        this.id = id;
        this.userAccount = userAccount;
        this.userPassword = userPassword;
        this.userName = userName;
        this.userPhone = userPhone;
        this.userRole = userRole;
        this.userHobby = userHobby;
        this.userState = userState;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public String getUserHobby() {
        return userHobby;
    }

    public void setUserHobby(String userHobby) {
        this.userHobby = userHobby;
    }

    public String getUserState() {
        return userState;
    }

    public void setUserState(String userState) {
        this.userState = userState;
    }

    public String getUserUrl() {
        return userUrl;
    }
    public void setUserUrl(String userUrl) {
        this.userUrl = userUrl;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userAccount='" + userAccount + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userRole='" + userRole + '\'' +
                ", userHobby='" + userHobby + '\'' +
                ", userState='" + userState + '\'' +
                ", userUrl='" + userUrl + '\'' +
                '}';
    }
}
